{{#* inline 'itemPlugin' item}}
{{#eq item.itemType 'ITEMS'}}
{{#each item.psDEToolbarItems as | item |}}
{{> itemPlugin item=item}}
{{/each}}
{{else}}
{{#if item.psSysPFPlugin}}
<template #{{item.psSysPFPlugin.pluginCode}}="{ rowData }">
    {{> @macro/plugins/ctrl-item/ctrl-item-use.hbs ctrl=ctrl appPlugin=item.psSysPFPlugin}}
</template>
{{/if}}
{{/eq}}
{{/inline}}
<AppToolbar
    name="toolbar"
    mode="{{page.viewStyle}}"
    :items="store.toolbarItems"
    :loading="store.loadingHelper.isLoading"
    @item-click="(name: string, event: MouseEvent, logic: any) => { handleToolbarItemClick(controller, name, event, logic) }">
    {{#each ctrl.psDEToolbarItems as | item |}}
        {{> itemPlugin item=item ctrl=ctrl}}
    {{/each}}
</AppToolbar>
